import { createApp } from "vue";
// import './style.css'
import App from "./App.vue";
import router from "./router/index.js"; //./同级 ../ 上一级  @/ 根目录  src
import "@/assets/css/common.css";
import "@/assets/css/index.css";
import "@/assets/font/iconfont.css";
import { createPinia } from "pinia";
import DataVVue3 from "@kjgl77/datav-vue3";
import ElementPlus from "element-plus";
// import Pagination from '@/components/Pagination/index.vue'
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

// createApp(App).use(ElementPlus).use(router).use(DataVVue3).mount('#app')
app.use(createPinia());
app.use(router);
app.use(DataVVue3);
app.use(ElementPlus);
app.mount("#app");
